{extend name='common@layout/store' /}
{block name='breadcrumb'}
<div class="breadcrumb">
	<span class="icon-home"></span><span><a
		href="{$Think.request.base_url}">首页</a></span> <span class="arrow">></span> <span>商家帮助指南</span>
</div>
{/block} {block name='content'}
<div class="main">
  <div class="sidebar">
    <div class="title">
      <h3>商家帮助指南</h3>
    </div>
        <div class="content">
        {if(isset($type_list))}
          {foreach $type_list as $val }
                  <dl show_id="{$val.id}">
        <dt onclick="show_list('{$val.id}');">
            <i class="{if($val['name'] == $type_name)}show{else /}hide{/if}"></i>{$val.name}</dt>
        <dd style="display: {if($val['name'] == $type_name)}block{else /}none{/if};">
        <ul>
        {if(isset($article_list) && !empty($article_list))}
          {foreach $article_list as $val1 }
          {if($val1['type_id'] == $val['id'])}
          <li>
          	<i class=""></i>
            <a href="{$val1.url|default=url('index/store/guide',['article_id'=>$val1.id])}">{$val1.title|default=''}</a>
          </li>
          {/if}
          {/foreach}
        {/if}
        </ul>
        </dd>
      </dl>
      {/foreach}
          {/if}
                </div>
    
    {:widget('Index/contact')} 
</div>
<div class="right-layout">
    <div class="article-con">
    <h1>{$article.title|default=''}</h1>
    <h2>更新时间{$article.create_time?date('Y-m-d H:i:s',$article.create_time):''}</h2>
      {$article.content|default='没有文章信息'} 
    </div>
  </div>
</div><div id="faq">
  <div class="faq-wrapper">
      </div>
</div>
{/block}